* About

Refactoring again the tracking of my dotfiles using [[https://news.ycombinator.com/item?id=11071754][StreakyCobra's method]].

-------------------------------------------------------------------------------

* License

Copyright 2019 vaeringjar.
Work distributed under the CC0.

* Usage

Run this to setup. Please note, this will clobber any older versions!

#+BEGIN_SRC
git clone --bare https://vaeringjar@notabug.org/vaeringjar/dotfiles.git $HOME/.vxvc
git init --bare $HOME/.vxvc
alias vxvc='/usr/bin/git --git-dir=$HOME/.vxvc/ --work-tree=$HOME'
vxvc config --local status.showUntrackedFiles no
echo "alias vxvc='/usr/bin/git --git-dir=$HOME/.vxvc/ --work-tree=$HOME'" >> $HOME/.bashrc
vxvc reset --hard HEAD
#+END_SRC

The ~.bashrc~ file should have the following:

#+BEGIN_SRC
if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi
#+END_SRC
